﻿using OAS.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OAS.Application.MenuApp.Dtos
{
    public class DtoMenu
    {
        public Guid MenuId { get; set; }
        public string Path { get; set; }
        public string Redirect { get; set; }
        public Meta Meta { get; set; }
        public bool AlwaysShow { get; set; }
        public List<DtoMenuChild> Children { get; set; }
        public int? SortIndex { get; set; }
    }
    public class DtoMenuChild
    {
        public Guid MenuId { get; set; }
        public string Path { get; set; }
        public Meta Meta { get; set; }
        public string Component { get; set; }
        public int? SortIndex { get; set; }
    }
    public class Meta
    {
        public string Title { get; set; }
        public string Icon { get; set; }
        public bool HideClose { get; set; }
    }
}
